const stag = {
  dbUrl: `mongodb+srv://${process.env.DBUSER}:${process.env.DBPWD}@yaozi-2qozc.mongodb.net/test?retryWrites=true&w=majority`,
  tokenExpiresIn: "1h",
  uploadPath: "./public/uploads/",
  staticPath: "./public/"
}

const live = {
  dbUrl: `mongodb+srv://${process.env.DBUSER}:${process.env.DBPWD}@yaozi-2qozc.mongodb.net/test?retryWrites=true&w=majority`,
  tokenExpiresIn: "2h",
  uploadPath: "./public/uploads/",
  staticPath: "./public/"
}

module.exports = process.env.NODE_ENV === "development" ? stag : live
